function Listener()
{
	this.QueryInterface = function(aIID) {
    if (aIID.equals(Components.interfaces.nsIXmppListener) ||
            aIID.equals(Components.interfaces.nsISupports))
	            return this;
          throw Components.results.NS_NOINTERFACE;
    }
}
Listener.prototype.onStateChange=function(state){};
Listener.prototype.onError = function(msg){};
